package com.lihaogn.sell.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

/**
 * @FileName: User
 * @Description: TODO
 *
 * -- 客户表
 * DROP TABLE IF EXISTS `user`;
 * CREATE TABLE `user`(
 *     `user_wx_openid` CHAR(28) NOT NULL, -- 微信唯一标识
 *     `user_nick_name` VARCHAR(20) NOT NULL,
 *     `user_city` VARCHAR(5) NOT NULL,
 *     `user_gender` tinyint(1) NOT NULL, -- 用户性别：0男1女
 *     `user_create_time` DATETIME NOT NULL DEFAULT now(),
 *     `user_modified_time` timestamp,
 *     PRIMARY KEY (`user_wx_openid`)
 * ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 *
 * @Author: lihao
 * @Date: 2019-04-22 16:42
 * @Version: 1.0
 */
@Data
public class User {

    private String userWxOpenid;
    private String userNickName;
    private String userCity;
    private Integer userGender;
    @ApiModelProperty(hidden = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date userCreateTime;


}
